System and method for controlling work machine

ABSTRACT

A work machine loads materials onto a conveyance vehicle. A system for controlling the work machine includes a detection device that detects an operation of the conveyance vehicle, and a controller that controls the work machine. The work machine includes a work implement attached to a rotating body. The controller acquires operation data indicative of an operation of the conveyance vehicle from the detection device. The controller causes the rotating body to rotate toward a predetermined unloading position. The controller determines whether the conveyance vehicle is stopped at a predetermined loading position based on the operation data. The controller causes the work implement to wait on standby at the unloading position upon determining that the conveyance vehicle is operating. The controller controls the work machine to unload materials at the unloading position upon determining that the conveyance vehicle is stopped at the loading position.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a U.S. National stage application of International Application No. PCT/JP2019/010992, filed on Mar. 15, 2019. This U.S. National stage application claims priority under 35 U.S.C. § 119(a) to Japanese Patent Application No. 2018-144232, filed in Japan on Jul. 31, 2018, the entire contents of which are hereby incorporated herein by reference.

BACKGROUND Field of the Invention

The present invention relates to a system and a method for controlling a work machine.

Background Information

There is work which involves digging materials such as soil and the like by a work machine such as a hydraulic excavator and loading the materials onto a conveyance vehicle such as a dump truck. The conveyance vehicle is loaded with the materials at a predetermined loading position. The conveyance vehicle travels to a predetermined dumping position and dumps the materials at the dumping position. The conveyance vehicle then returns to the loading position and materials are loaded again by the work machine onto the conveyance vehicle.

Conventionally, a technique for performing the above loading work by the work machine with automatic control is known. For example, Japanese Patent Laid-Open No. 2000-192514 indicates that the digging position and the unloading position are previously learned by a controller of the work machine. The controller controls the work machine so as to perform digging at the digging position, cause the work machine to rotate from the digging position to the unloading position, and unload materials at the unloading position.

SUMMARY

According to the above technique, the loading work can be performed by the work machine with automatic control. However, the loading work is performed not only by the work machine but also in cooperation with the conveyance vehicle. Therefore, it is important to perform the work while suitably coordinating the work machine and the conveyance vehicle in order to efficiently perform the loading work.

An object of the present invention is to perform loading work by the work machine with automatic control and suitably coordinate the work machine and the conveyance vehicle.

A system according to a first aspect is a system for controlling a work machine that loads materials onto a conveyance vehicle. The work machine includes a work implement and a rotating body. The work implement is attached to the rotating body. The system includes a detection device and a controller. The detection device detects an operation of the conveyance vehicle. The controller controls the work machine. The controller acquires operation data indicative of an operation of the conveyance vehicle from the detection device. The controller causes the rotating body to rotate toward a predetermined unloading position. The controller determines whether the conveyance vehicle is stopped at the predetermined loading position based on the operation data. The controller causes the work implement to wait on standby at the unloading position when determining that the conveyance vehicle is operating. The controller controls the work machine so as to unload materials at the unloading position when determining that the conveyance vehicle is stopped at the loading position.

A system according to a second aspect is a system for controlling a work machine that loads materials onto a conveyance vehicle. The work machine includes a work implement, a rotating body, and a topography sensor. The work implement is attached to the rotating body. The system includes a detection device and a controller. The detection device detects an operation of the conveyance vehicle. The controller controls the work machine. The topography sensor measures a topography in a periphery of the work machine. The controller acquires topography data indicative of a topography measured by the topography sensor. The controller determines a digging start position based on the topography measured by the topography sensor. The controller acquires operation data indicative of an operation of the conveyance vehicle from the detection device. The controller causes the rotating body to rotate toward the digging start position when detecting an approach of the conveyance vehicle. The controller controls the work implement so as to perform digging at the digging start position. The controller determines whether the conveyance vehicle is stopped at a predetermined loading position based on the operation data. The controller controls the work machine so as to unload materials when determining that the conveyance vehicle is stopped at the loading position.

A method according to a third aspect is a method executed by a controller in order to control a work machine that loads materials onto a conveyance vehicle. The work machine includes a work implement and a rotating body. The work implement is attached to the rotating body. The method includes the following processes. A first process is to acquire operation data indicative of an operation of the conveyance vehicle. A second process is to cause the rotating body to rotate toward a predetermined unloading position. A third process is to determine whether the conveyance vehicle is stopped at a predetermined loading position based on the operation data. A fourth process is to cause the work implement to wait on standby at the unloading position when determining that the conveyance vehicle is operating. A fifth process is to control the work machine so as to unload materials at the unloading position when determining that the conveyance vehicle is stopped at the loading position.

A method according to a fourth aspect is a method executed by a controller in order to control a work machine that loads materials onto a conveyance vehicle. The work machine includes a work implement and a rotating body. A work implement is attached to the rotating body. The method includes the following processes. A first process is to acquire topography data indicative of a topography in a periphery of the work machine. A second process is to determine a digging start position based on the topography. A third process is to acquire operation data indicative of an operation of the conveyance vehicle. A fourth process is to cause the rotating body to rotate toward the digging start position when detecting an approach of the conveyance vehicle. A fifth process is to control the work implement so as to perform digging at the digging start position. A sixth process is to determine whether the conveyance vehicle is stopped at a predetermined loading position based on the operation data. A seventh process is to control the work machine so as to unload materials when determining that the conveyance vehicle is stopped at the loading position.

According to the present invention, an operation of the conveyance vehicle is detected, and when the conveyance vehicle is stopped at the loading position, it is possible to cause the work machine to unload materials. Therefore, work can be performed by suitably coordinating the work machine and the conveyance vehicle. Consequently, the loading work by the work machine is performed with the automatic control and work efficiency can be improved.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a plan view illustrating an example of a work site where a work machine is used.

FIG. 2 is a side view of the work machine.

FIG. 3 is a block diagram illustrating a configuration of the work machine.

FIG. 4 is a side view of a conveyance vehicle.

FIG. 5 is a block diagram illustrating a configuration of the conveyance vehicle.

FIG. 6 is a flowchart illustrating processes in a standby mode.

FIG. 7 is a flowchart illustrating processes in a loading mode.

FIG. 8 is a flowchart illustrating processes in the loading mode.

FIG. 9 is a flowchart illustrating processes in the in loading mode.

FIG. 10 is a plan view schematically illustrating conditions of the work site during an automatic control mode.

FIG. 11 is a plan view schematically illustrating conditions of the work site during the automatic control mode.

FIG. 12 is a plan view schematically illustrating conditions of the work site during the automatic control mode.

FIG. 13 a plan view schematically illustrating conditions of the work site during the automatic control mode.

FIG. 14 is a plan view schematically illustrating conditions of the work site during the automatic control mode.

FIG. 15 is a plan view schematically illustrating conditions of the work site during the automatic control mode.

FIG. 16 is a plan view schematically illustrating conditions of the work site during the automatic control mode.

FIG. 17 is a plan view schematically illustrating conditions of the work site during the automatic control mode.

FIG. 18 is a plan view schematically illustrating conditions of the work site during the automatic control mode.

FIG. 19 is a view illustrating an example of an image captured by a first camera or a second camera.

FIG. 20 is a view illustrating an example of an image captured by the first camera.

FIG. 21 is a diagram illustrating the extent of materials that can be dug by the work machine at the current position.

FIG. 22 is a diagram illustrating an example of a cross section of the current topography and a digging path.

FIG. 23 is a view illustrating an example of an image captured by the first camera.

DETAILED DESCRIPTION OF EMBODIEMENT(S)

A control system of a work machine 1 according to an embodiment will now be described with reference to the drawings. FIG. 1 is a plan view illustrating an example of a work site where the work machine 1 is used. The work machine 1 and a conveyance vehicle 2 are disposed at the work site. The work machine 1 performs work in cooperation with the conveyance vehicle 2 with automatic control.

In the present embodiment, the work machine 1 is a hydraulic excavator. The conveyance vehicle 2 is a dump truck. The work machine 1 is disposed beside a predetermined digging position L1 in the work site. The conveyance vehicle 2 travels back and forth between a predetermined loading position L2 and a predetermined dumping position L3 in the work site. The work machine 1 digs the digging position L1 with automatic control and loads materials such as soil and the like as a target to be dug onto the conveyance vehicle 2 that is stopped at the loading position L2. The conveyance vehicle 2 loaded with the materials travels to the dumping position L3 and unloads the materials at the dumping position L3. Another work machine 3 such as a bulldozer is disposed at the dumping position L3 and spreads the materials unloaded at the dumping position L3. The conveyance vehicle 2 that has unloaded the materials travels to the loading position L2 and the work machine 1 loads again the materials onto the conveyance vehicle 2 that is stopped at the loading position L2. The materials of the digging position L1 are transported to the dumping position L3 by repeating the above work.

FIG. 2 is a side view of the work machine 1. As illustrated in FIG. 2 , the work machine 1 includes a vehicle body 11 and a work implement 12. The vehicle body 11 includes a rotating body 13 and a traveling body 14. The rotating body 13 is rotatably attached to the traveling body 14. A cab 15 is disposed on the rotating body 13. However, the cab 15 may be omitted. The traveling body 14 includes crawler belts 16. The crawler belts 16 are driven by driving force from an engine 24 described later, whereby the work machine 1 travels.

The work implement 12 is attached to the front part of the vehicle body 11. The work implement 12 includes a boom 17, an arm 18, and a bucket 19. The boom 17 is attached to the rotating body 13 so as to allow movement in the up and down direction. The arm 18 is movably attached to the boom 17. The bucket 19 is movably attached to the arm 18. The work implement 12 includes a boom cylinder 21, an arm cylinder 22, and a bucket cylinder 23. The boom cylinder 21, the arm cylinder 22, and the bucket cylinder 23 are hydraulic cylinders and are driven by hydraulic fluid from a hydraulic pump 25 described later. The boom cylinder 21 actuates the boom 17. The arm cylinder 22 actuates the arm 18. The bucket cylinder 23 actuates the bucket 19.

FIG. 3 is a block diagram illustrating a configuration of a control system of the work machine 1. As illustrated in FIG. 3 , the work machine 1 includes an engine 24, a hydraulic pump 25, a power transmission device 26, and a controller 27.

The engine 24 is controlled by command signals from the controller 27. The hydraulic pump 25 is driven by the engine 24 to discharge hydraulic fluid. The hydraulic fluid discharged from the hydraulic pump 25 is supplied to the boom cylinder 21, the arm cylinder 22, and the bucket cylinder 23.

The work machine 1 includes a rotation motor 28. The rotation motor 28 is a hydraulic motor and is driven by hydraulic fluid from the hydraulic pump 25. The rotation motor 28 rotates the rotating body 13. While only one hydraulic pump 25 is illustrated in FIG. 2 , a plurality of hydraulic pumps may be provided.

A pump control device 29 is connected to the hydraulic pump 25. The hydraulic pump 25 is a variable displacement pump. The pump control device 29 controls the inclination angle of the hydraulic pump 25. The pump control device 29 includes, for example, an electromagnetic valve and is controlled by command signals from the controller 27. The controller 27 controls the displacement of the hydraulic pump 25 by controlling the pump control device 29.

The hydraulic pump 25, the cylinders 21 to 23, and the rotation motor 28 are connected to each other by means of a hydraulic circuit via a control valve 31. The control valve 31 is controlled by command signals from the controller 27. The control valve 31 controls the flow rate of the hydraulic fluid supplied from the hydraulic pump 25 to the cylinders 21 to 23 and the rotation motor 28. The controller 27 controls the operation of the work implement 12 by controlling the control valve 31. The controller 27 also controls the rotation of the rotating body 13 by controlling the control valve 31.

The power transmission device 26 transmits driving force from the engine 24 to the traveling body 14. The power transmission device 26 may be, for example, a torque converter or a transmission having a plurality of transmission gears. Alternatively, the power transmission device 26 may be another type of transmission such as a hydro static transmission (HST) or a hydraulic mechanical transmission (HMT).

The controller 27 is programmed so as to control the work machine 1 based on acquired data. The controller 27 causes the work machine 1 to travel by controlling the engine 24, the traveling body 14, and the power transmission device 26. The controller 27 causes the work implement 12 to operate by controlling the engine 24, the hydraulic pump 25, and the control valve 31.

The controller 27 includes a processor 271 such as a CPU or GPU, and a storage device 272. The processor 271 performs processing for the automatic control of the work machine 1. The storage device 272 includes a memory such as RAM or a ROM, and an auxiliary storage device such as a hard disk drive (HDD) or a solid state drive (SSD). The storage device 272 stores data and programs for the automatic control of the work machine 1.

The work machine 1 includes load sensors 32 a to 32 c. The load sensors 32 a to 32 c detect a load applied to the work implement 12 and output load data indicative of the load. In the present embodiment, the load sensors 32 a to 32 c are hydraulic pressure sensors and detect the hydraulic pressures of the cylinders 21 to 23, respectively. The load data indicates the hydraulic pressures of the cylinders 21 to 23. The controller 27 is communicably connected to the load sensors 32 a to 32 c by wire or wirelessly. The controller 27 receives the load data from the load sensors 32 a to 32 c.

The work machine 1 includes a position sensor 33, work implement sensors 34 a to 34 c, and a rotation angle sensor 39. The position sensor 33 detects the position of the work machine 1 and outputs position data indicative of the position of the work machine 1. The position sensor 33 includes a global navigation satellite system (GNSS) receiver and an inertial measurement unit (IMU). The GNSS receiver is, for example, a receiver for a global positioning system (GPS). The position data includes data indicative of the position of the work machine 1 output by the GNSS receiver and data indicative of the attitude of the vehicle body 11 output by the IMU. The attitude of the vehicle body 11 includes an angle (pitch angle) with respect to the horizontal in the longitudinal direction of the work machine 1 and an angle (roll angle) with respect to the horizontal in the lateral direction of the work machine 1.

The work implement sensors 34 a to 34 c detect the attitude of the work implement 12 and output attitude data indicative of the attitude of the work implement 12. The work implement sensors 34 a to 34 c are, for example, stroke sensors that detect the stroke amounts of the cylinders 21 to 23. The attitude data of the work implement 12 includes the stroke amounts of the cylinders 21 to 23. Alternatively, the work implement sensors 34 a to 34 c may be other sensors such as sensors that detect the rotation angles of the boom 17, the arm 18, and the bucket 19, respectively. The rotation angle sensor 39 detects the rotation angle of the rotating body 13 with respect to the traveling body 14 and outputs rotation angle data indicative of the rotation angle.

The controller 27 is communicably connected to the position sensor 33, the work implement sensors 34 a to 34 c, and the rotation angle sensor 39 by wire or wirelessly. The controller 27 receives the position data of the work machine 1, the attitude data of the work implement 12, and the rotation angle data from the position sensor 33, the work implement sensors 34 a to 34 c, and the rotation angle sensor 39, respectively. The controller 27 calculates the blade tip position of the bucket 19 from the position data, the attitude data, and the rotation angle data. For example, the position data of the work machine 1 indicates the global coordinates of the position sensor 33. The controller 27 calculates the global coordinates of the blade tip position of the bucket 19 from the global coordinates of the position sensor 33 based on the attitude data of the work implement 12 and the rotation angle data.

The work machine 1 includes a topography sensor 35. The topography sensor 35 measures a topography in a periphery of the work machine 1 and outputs topography data indicative of the topography measured by the topography sensor 35. In the present embodiment, the topography sensor 35 is attached to a side part of the rotating body 13. The topography sensor 35 measures the topography located to the side of the rotating body 13. The topography sensor 35 is, for example, a laser imaging detection and ranging (LIDAR) device. The LIDAR device measures the distances to a plurality of measurement points on the topography by irradiating a laser and measuring the reflected light thereof. The topography data indicates the positions of the measurement points with respect to the work machine 1.

The work machine 1 includes a first camera 36 and a plurality of second cameras 37. The first camera 36 faces forward from the rotating body 13 and is attached to the rotating body 13. The first camera 36 captures toward the front of the rotating body 13. The first camera 36 is a stereo camera. The first camera 36 outputs first image data indicative of captured moving images.

The plurality of second cameras 37 are attached to the rotating body 13 and facing left, right, and rear from the rotating body 13. The second cameras 37 output second image data indicative of captured moving images. The second cameras 37 may be single-lens cameras. Alternatively, the second cameras 37 may be stereo cameras in the same way as the first camera 36. The controller 27 is communicably connected to the first camera 36 and the second cameras 37 by wire or wirelessly. The controller 27 receives the first image data from the first camera 36. The controller 27 receives the second image data from the second cameras 37.

The work machine 1 includes a communication device 38. The communication device 38 performs data communication with a device outside the work machine 1. The communication device 38 performs data communication with a remote computer apparatus 4 outside the work machine 1. The remote computer apparatus 4 may be disposed at the work site. Alternatively, the remote computer apparatus 4 may be disposed at a management center remote from the work site. The remote computer apparatus 4 includes a display 401 and an input device 402.

The display 401 displays images related to the work machine 1. The display 401 displays images corresponding to signals received from the controller 27 via the communication device 38. The input device 402 is operated by an operator. The input device 402 may include, for example, a touch screen or may include hardware keys. The remote computer apparatus 4 transmits signals indicative of commands input by the input device 402, to the controller 27 via the communication device 38. The communication device 38 performs data communication with the conveyance vehicle 2.

FIG. 4 is a side view of the conveyance vehicle 2. As illustrated in FIG. 4 , the conveyance vehicle 2 includes a vehicle body 51, a traveling body 52, and a bed 53. The vehicle body 51 is supported by the traveling body 52. The traveling body 52 includes crawler belts 54. The crawler belts 54 are driven by the driving force from an engine 55 described later, whereby the conveyance vehicle 2 travels. The bed 53 is supported by the vehicle body 51. The bed 53 is configured to move between a dumping attitude and a conveying attitude. In FIG. 4 , the bed 53 indicated by a solid line indicates the position of the bed 53 in the conveying attitude. The bed 53 indicated by a chain double-dashed line indicates the position of the bed 53 in the dumping attitude. In the conveying attitude, the bed 53 is disposed approximately horizontally. In the dumping attitude, the bed 53 is inclined with respect to the conveying attitude.

FIG. 5 is a block diagram illustrating a configuration of a control system of the conveyance vehicle 2. The conveyance vehicle 2 includes an engine 55, a hydraulic pump 56, a power transmission device 57, a lift cylinder 58, a rotation motor 59, a controller 61, and a control valve 62. The controller 61 includes a processor 611, a volatile storage unit 612, and a non-volatile storage unit 613.

The engine 55, the hydraulic pump 56, the power transmission device 57, the controller 61, and the control valve 62 have the same configurations as the engine 24, the hydraulic pump 25, the power transmission device 26, the controller 27, and the control valve 31 of the work machine 1, respectively. Therefore, detailed explanations thereof are omitted.

The lift cylinder 58 is a hydraulic cylinder. The rotation motor 59 is a hydraulic motor. The hydraulic fluid discharged from the hydraulic pump 56 is supplied to the lift cylinder 58 and the rotation motor 59. The lift cylinder 58 and the rotation motor 59 are driven by hydraulic fluid from the hydraulic pump 56. The lift cylinder 58 raises and lowers the bed 53. Consequently, the attitude of the bed 53 is switched between the conveying attitude and the dumping attitude. The rotation motor 59 causes the vehicle body 51 to rotate with respect to the traveling body 52. The controller 61 controls the lift cylinder 58 by means of the control valve 62 thereby controlling the operation of the bed 53. In addition, the controller 61 controls the rotation motor 59 by means of the control valve 62 thereby controlling the rotation of the vehicle body 51.

The conveyance vehicle 2 includes a position sensor 63, a bed sensor 64, and a rotation angle sensor 65. The position sensor 63 outputs position data in the same way as the position sensor 33 of the work machine 1. The position data includes data indicative of the position of the conveyance vehicle 2 and data indicative of the attitude of the vehicle body 51.

The bed sensor 64 detects the attitude of the bed 53 and outputs bed data indicative of the attitude of the bed 53. The bed sensor 64 is, for example, a stroke sensor that detects the stroke amount of the lift cylinder 58. The bed data includes the stroke amount of the lift cylinder 58. Alternatively, the bed sensor 64 may be another type of sensor such as a sensor that detects the inclination angle of the bed 53. The rotation angle sensor 65 detects the rotation angle of the vehicle body 51 with respect to the traveling body 52 and outputs rotation angle data indicative of the rotation angle.

The controller 61 is communicably connected to the position sensor 63, the bed sensor 64, the rotation angle sensor 65 by wire or wirelessly. The controller 61 receives the position data, the bed data, and the rotation angle data from the position sensor 63, the bed sensor 64, and the rotation angle sensor 65, respectively.

The conveyance vehicle 2 includes a communication device 66. The controller 61 of the conveyance vehicle 2 performs data communication with the controller 27 of the work machine 1 via the communication device 66. The controller 61 of the conveyance vehicle 2 transmits the position data, the bed data, and the rotation angle data of the conveyance vehicle 2 via the communication device 66. The controller 27 of the work machine 1 receives the position data, the bed data, and the rotation angle data of the conveyance vehicle 2 via the communication device 38. The controller 27 of the work machine 1 stores vehicle dimension data indicative of the dispositions and the dimensions of the vehicle body 51 and the bed 53 of the conveyance vehicle 2. The controller 27 calculates the position of the bed 53 from the position data, the bed data, the rotation angle data, and the vehicle dimension data of the conveyance vehicle 2.

Next, the processing of the automatic control mode executed by the controller 27 of the work machine 1 will be described. In the automatic control mode, the controller 27 controls the work machine 1 so that the abovementioned digging and loading work is performed automatically. FIGS. 6 to 9 are flowcharts illustrating the processing of the automatic control mode.

The automatic control mode includes a loading mode and modes other than the loading mode. Another mode in the present embodiment is a standby mode. In the standby mode, the controller 27 causes the work machine 1 to wait on standby until the conveyance vehicle 2 has arrived at the loading position L2 and stopped. In addition to the standby mode, the other modes may include modes such as a mode for gathering fallen materials, a digging mode for digging another region and further increasing the materials, or the like. In the loading mode, the controller 27 causes the work machine 1 to operate so as to perform loading work onto the conveyance vehicle 2 when the conveyance vehicle 2 is stopped at the loading position L2. FIG. 6 is a flowchart illustrating processes in the standby mode. FIGS. 7 to 9 are flowcharts illustrating processes in the loading mode. FIGS. 10 to 18 are plan views schematically illustrating conditions of the work site during the automatic control mode.

When receiving a starting command of the automatic control mode, the controller 27 starts the engine 24 of the work machine 1 and executes the processes of the standby mode illustrated in FIG. 6 . As illustrated in FIG. 10 , the starting command of the automatic control mode is output from the abovementioned remote computer apparatus 4 due to, for example, the operator operating the input device 402 of the remote computer apparatus 4. The controller 27 receives the starting command through the communication device 38. In addition, the conveyance vehicle 2 also receives the starting command of the automatic control mode. Upon receiving the starting command of the automatic control mode, the conveyance vehicle 2 starts moving toward the loading position L2.

As illustrated in FIG. 6 , in step S101, the controller 27 causes the work machine 1 to wait on standby in a waiting attitude for unloading. That is, in the standby mode, the controller 27 maintains the work implement 12, the rotating body 13, and the traveling body 14 in the waiting attitude for unloading. As illustrated in FIG. 10 , in the waiting attitude for unloading, the work implement 12 is disposed so as to face the loading position L2. That is, in the waiting attitude for unloading, the front of the rotating body 13 faces the loading position L2. In addition, in the waiting attitude for unloading, the bucket 19 is disposed in a position higher than the height of the bed 53 of the conveyance vehicle 2.

In step S102, the controller 27 acquires the position of the work machine 1. Here, the controller 27 acquires the position data of the work machine 1, the attitude data of the work implement 12, and the rotation angle data from the position sensor 33, the work implement sensors 34 a to 34 c, and the rotation angle sensor 39, respectively. The controller 27 calculates the blade tip position of the bucket 19 from the position data, the attitude data, and the rotation angle data.

In step S103, the controller 27 acquires image data. Here, the controller 27 acquires the first image data indicative of moving images in front of the rotating body 13 from the first camera 36. The controller 27 acquires the second image data indicative of moving images to the both sides and to the rear side from the rotating body 13, from the second cameras 37. The first camera 36 and the second cameras 37 constantly capture images to generate the first image data and the second image data at least during the execution of the automatic control mode. The controller 27 acquires the first image data and the second image data in real time from the first camera 36 and the second cameras 37 at least during the execution of the automatic control mode.

In step S104, the controller 27 executes image processing 1. The image processing 1 detects the presence of a person in the periphery of the work machine 1 with image recognition technology based on the first image data and the second image data. Therefore, the first camera 36 and the second cameras 37 correspond to a person detection device that detects the presence of a person in a region in the periphery of the work machine 1.

The controller 27 detects the presence of a person in the images indicated by the first image data and the second image data by using, for example, image recognition technology that uses artificial intelligence (AI). FIG. 19 is a view illustrating an example of an image captured by the first camera 36 or the second cameras 37. As illustrated in FIG. 19 , when a person is included in the images indicated by the first image data or the second image data, the controller 27 recognizes and detects a person in the images. In step S105, the controller 27 determines whether the presence of a person in the periphery of the wok machine 1 is detected. When the presence of a person is not detected, the processing proceeds to step S106.

In step S106, the controller 27 executes image processing 2. In the image processing 2, the controller 27 detects the presence of the conveyance vehicle 2 with the image recognition technology based on the first image data. Therefore, the first camera 36 corresponds to a vehicle detection device that detects an approach of the conveyance vehicle 2 toward the work machine 1. The image recognition technology is the same as in step S104. As illustrated in FIG. 11 , the controller 27 detects the presence of the conveyance vehicle 2 when the conveyance vehicle 2 has reached the image capturing range of the first camera 36.

FIG. 20 is a view illustrating an example of an image captured by the first camera 36 when the conveyance vehicle 2 has reached the image capturing range of the first camera 36. As illustrated in FIG. 20 , when the conveyance vehicle 2 is included in the images indicated by the first image data, the controller 27 recognizes and detects the conveyance vehicle 2 in the images.

In step S107, the controller 27 communicates with the conveyance vehicle 2. Here, the controller 27 receives the position data of the conveyance vehicle 2 from the conveyance vehicle 2 via the communication device 38. The controller 27 also receives the bed data and the rotation angle data from the conveyance vehicle 2 via the communication device 38.

In step S108, the controller 27 determines whether the approach of the conveyance vehicle 2 is detected. The controller 27 determines that the approach of the conveyance vehicle 2 is detected when the distance from the work machine 1 to the conveyance vehicle 2 is equal to or less than a predetermined threshold. The controller 27 calculates the distance from the work machine 1 to the conveyance vehicle 2 by analyzing the first image data. Alternatively, the controller 27 may calculate the distance from the work machine 1 to the conveyance vehicle 2 from the position data of the work machine 1 and the position data of the conveyance vehicle 2. When the approach of the conveyance vehicle 2 is detected, the processing proceeds to step S201 illustrated in FIG. 7 . That is, the controller 27 causes the automatic control mode to transition from the standby mode to the loading mode.

The fact that no person is detected in step S105 and the fact that the approach of the conveyance vehicle 2 is detected in step S108 represent the transition condition for causing the automatic control mode to transition from the standby mode to the loading mode. The controller 27 causes the automatic control mode to transition from the standby mode to the loading mode when the transition condition is satisfied. The controller 27 does not cause the automatic control mode to transition from the standby mode to the loading mode and maintains the standby mode when the transition condition is not satisfied. The transition condition may also include other conditions.

When the controller 27 does not detect the approach of the conveyance vehicle 2 in step S108, the processing proceeds to step S109. In step S109, the controller 27 determines whether a finishing signal is received. The finishing signal is transmitted from the remote computer apparatus 4. The finishing signal is transmitted from the remote computer apparatus 4 to the controller 27 due to the operator operating the input device 402. Upon receiving the finishing signal, the controller 27 finishes the automatic control mode. When the automatic control mode is finished, the controller 27 stops the engine 24 of the work machine 1. In addition, the controller 61 of the conveyance vehicle 2 stops the conveyance vehicle 2 upon receiving the finishing signal.

As illustrated in FIG. 12 , when a person 100 has intruded into the periphery of the work machine 1, the controller 27 detects the presence of the person 100 in step S105. When the controller 27 detects the presence of the person 100, the processing proceeds to step S110. In step S110, the controller 27 outputs a warning signal so as to cause an output device to output a warning. In the present embodiment, the output device is the remote computer apparatus 4. Upon receiving the warning signal, the remote computer apparatus 4 displays a message or an image indicative of the warning on the display 401. The remote computer apparatus 4 may output a sound which represents the warning upon receiving the warning signal.

The output device is not limited to the remote computer apparatus 4 and may be another device. For example, the output device may be a warning lamp or a loudspeaker attached to the work machine 1 or disposed on the outside of the work machine 1. The controller 27 may output a command signal so as to illuminate the warning lamp or emit a warning sound from the loudspeaker when the presence of a person is detected.

The controller 27 determines whether the finishing signal is received in step S109 after causing the output device to output the warning signal in step S110. When the finishing signal is received, the controller 27 stops the automatic control mode. When the finishing signal is not received, the controller 27 maintains the automatic control mode in the standby mode.

When detecting the presence of a person in the periphery of the work machine 1 in the standby mode, the controller 27 does not transition the automatic control mode to the loading mode and maintains the standby mode even when detecting the approach of the conveyance vehicle 2. When detecting the presence of a person during the loading mode described later, the controller 27 stops the operations of the work implement 12 and the rotating body 13. In addition, when detecting the presence of a person, the controller 27 may transmit a command signal to stop the conveyance vehicle 2 to the controller 61 of the conveyance vehicle 2 in either of the standby mode or the loading mode.

Next, the processing in the loading mode will be explained. In the loading mode, the controller 27 performs digging by the work implement 12 at the predetermined digging position L1, causes the work implement 12 to rotate with the rotating body 13 from the digging position L1 toward the loading position L2, and unloads the materials from the work implement 12 at the loading position L2 to perform the loading work. As illustrated in FIG. 7 , in the loading mode, the controller 27 measures a topography in step S201. Here, as illustrated in FIG. 13 , the topography sensor 35 measures the topography of the digging position L1 located on a side of the work machine 1. The controller 27 acquires topography data indicative of the topography of the digging position L1 measured by the topography sensor 35. The controller 27 determines whether the rotating body 13 is stopped or operating, and when determining that the rotating body 13 is stopped, the controller 27 may measure the topography by the topography sensor 35.

In step S202, the controller 27 determines whether the digging amount can be secured. Here, the controller 27 determines whether the materials of a predetermined amount or more can be acquired by digging when the work implement 12 and the rotating body 13 are operated at the current position of the work machine 1. For example, as illustrated in FIG. 21 , the controller 27 calculates the amount of the materials that can be dug at the current position from the trajectory of the work implement 12 when the work implement 12 and the rotating body 13 are operated at the current position of the work machine 1 and from the topography of the digging position L1 indicated by the topography data. In FIG. 21 , hatching is applied to the extent that can be dug when the work implement 12 is operated. The controller 27 determines that the digging amount can be secured when the amount of the materials that can be dug is equal to or greater than a predetermined threshold. When the controller 27 determines that the digging amount cannot be secured, the processing proceeds to step S203.

In step S203, the controller 27 adjusts the position of the work machine 1. For example, the controller 27 causes the work machine 1 to move forward or backward a predetermined distance. Then, the controller 27 measures the topography again in step S201 and determines whether the digging amount can be secured in step S202.

When the controller 27 determines that the digging amount can be secured in step S202, the processing proceeds to step S204. In step S204, the controller 27 calculates a possible loading weight. The controller 27 stores the maximum loading weight that can be loaded onto the conveyance vehicle 2. The controller 27 calculates the possible loading weight from the maximum loading weight and the weight of the materials already loaded onto the conveyance vehicle 2.

In step S205, the controller 27 establishes a digging plan. Here, the controller 27 determines a digging path PA1 (in FIG. 22 ) and a target rotation angle TA1 (in FIG. 14 ) from the current position of the work machine 1, the topography data, and a target volume. The digging path PA1 is a target trajectory of the blade tip of the work implement 12. The controller 27 determines the digging path PA1 from the current position of the work machine 1 and the topography data so that the amount of the materials to be dug by the work implement 12 matches the target volume. As described later, the controller 27 is able to calculate the weight of the materials held in the bucket 19 by digging. The controller 27 accumulates the weight of the materials in the bucket 19 for each unloading onto the conveyance vehicle 2, whereby the controller is able to understand the loading amount onto the conveyance vehicle 2. The loading amount onto the conveyance vehicle 2 is zero at the time of the first digging.

FIG. 22 is a diagram illustrating an example of a cross section of a current topography T1 and the digging path PA1. As illustrated in FIG. 22 , the controller 27 determines the digging path PA1 so that the volume between the surface of the current topography T1 and the digging path PA1 (hatched portion in FIG. 22 ) matches the target volume. The digging path PA1 includes a digging start point S1 and a digging end point E1. The digging start point S1 and the digging end point E1 are intersections between the surface of the topography T1 and the digging path PA1. For example, the digging start point S1 is positioned further away from the work machine 1 than the digging end point E1. The controller 27 calculates the position of the digging start point S1 and determines the target rotation angle TA1 from the digging start point S1.

The controller 27 determines the target volume according to the possible loading weight. The controller 27 calculates the specific gravity of the materials as described later and converts the possible loading weight to a volume based on the specific gravity. The controller 27 calculates a possible loading capacity from the possible loading weight and calculates the target volume based on the possible loading capacity. Specifically, when the possible loading capacity is equal to or greater than the digging capacity of the bucket 19, the controller 27 determines the digging capacity of the bucket 19 as the target volume. The digging capacity of the bucket 19 is stored in the storage device 272. When the possible loading capacity is less than the digging capacity of the bucket 19, the controller 27 determines the possible loading capacity as the target volume. The specific gravity or the target volume may be a predetermined initial value when the digging is executed the first time.

In step S206, the controller 27 executes an automatic down rotation. Here, as illustrated in FIG. 14 , the controller 27 causes the rotating body 13 to rotate from the position in the waiting attitude for unloading toward the digging start point S1 by the target rotation angle TA1, and causes the blade tip of the work implement 12 to be lowered from the height in the waiting attitude for unloading toward the height of the digging start point S1.

In step S207, the controller 27 executes automatic digging. Here, the controller 27 controls the work implement 12 so that the blade tip of the work implement 12 moves along the digging path PA1 determined in the digging plan.

In step S208, the controller 27 modifies the position data of the work machine 1. Here, the controller 27 reacquires the position data of the work machine 1, the attitude data of the work implement 12, and the rotation angle data from the position sensor 33, the work implement sensors 34 a to 34 c, and the rotation angle sensor 39, respectively, and modifies the position of the work machine 1 acquired in step S102.

In step S209, the controller 27 establishes an unloading plan. Here, the controller 27 determines a target rotation angle TA2 and an unloading position P1 from the current position of the work machine 1 and the bed position of the conveyance vehicle 2. The unloading position P1 indicates the position of the blade tip of the bucket 19 in the unloading waiting attitude. The bed position of the conveyance vehicle 2 indicates the position of the bed 53 while the conveyance vehicle 2 is positioned at the loading position L2. The controller 27 may store a predetermined bed position. Alternatively, the controller 27 may calculate the bed position from the loading position L2 and the vehicle dimension data of the conveyance vehicle 2. The controller 27 determines the unloading position P1 so that the work implement 12 faces toward the bed 53 and the blade tip is positioned a predetermined distance above the bed 53.

In step S210, the controller 27 executes an automatic hoist rotation. Here, as illustrated in FIG. 15 , the controller 27 causes the rotating body 13 to rotate toward the unloading position P1 by the target rotation angle TA2, and causes the blade tip of the work implement 12 to be raised toward the unloading position P1.

In step S211, the controller 27 measures the weight of the materials dug by the work implement 12 and held by the bucket 19. Here, the controller 27 acquires load data indicative of the load applied to the work implement 12. The controller 27 calculates the weight of the materials based on the load data.

Further, the controller 27 calculates the specific gravity of the materials from the topography data before digging, the digging path PA1, and the load data. The digging path PA1 corresponds to the topography after digging. Therefore, the controller 27 calculates the volume of the materials dug by the work implement 12 from the topography data before digging and the digging path PA1. The controller 27 calculates the specific gravity of the materials from the volume of the materials and the weight of the materials calculated from the load data.

In step S301 illustrated in FIG. 8 , the controller 27 determines a state of the work machine 1. Here, the controller 27 determines whether the work machine 1 is operating or stopped. The controller 27 determines that the work machine 1 is operating when at least one of the traveling body 14, the rotating body 13, and the work implement 12 is operating. The controller 27 determines that the work machine 1 is stopped when the blade tip of the work implement 12 reaches the unloading position P1 and all the traveling body 14, the rotating body 13, and the work implement 12 are stopped. Alternatively, the controller 27 may determine that the work machine 1 is stopped when the rotating body 13 and the traveling body 14 are stopped.

When the work machine 1 is stopped, the controller 27 executes image processing 3 in step S302. In the image processing 3, the controller 27 detects the conveyance vehicle 2 with image recognition technology based on the first image data. In addition, the controller 27 communicates with the conveyance vehicle 2 in step S303. Here, the controller 27 receives the position data, the bed data, and the rotation angle data of the conveyance vehicle 2 via the communication device 38 in the same way as in step S107.

In step S304, the controller 27 then determines a state of the conveyance vehicle 2. Here, the controller 27 determines whether the conveyance vehicle 2 is operating or stopped at the loading position L2. The controller 27 determines that the conveyance vehicle 2 is operating when the conveyance vehicle 2 is traveling or when the bed 53 is rotating. The controller 27 determines that the conveyance vehicle 2 is stopped when the conveyance vehicle 2 is stopped at the loading position L2 as illustrated in FIG. 16 and the bed 53 is not rotating and is stopped.

When the work machine 1 is stopped in step S301, the controller 27 determines a state of the conveyance vehicle 2 based on the image processing 3 and the position data of the conveyance vehicle 2 in step S304. Therefore, the first camera 36 and the position sensor 33 correspond to a detection device that detects the operation of the conveyance vehicle 2. The controller 27 determines whether the conveyance vehicle 2 is stopped based on the first image data. Further, the controller 27 determines whether the conveyance vehicle 2 is stopped based on the position data of the conveyance vehicle 2. That is, the first image data and the position data of the conveyance vehicle 2 correspond to operation data indicative of the operation of the conveyance vehicle 2.

For example, the controller 27 may determine that the conveyance vehicle 2 is stopped when the stop of the conveyance vehicle 2 is detected based on both the image processing 3 and the position data of the conveyance vehicle 2. The controller 27 may determine that the conveyance vehicle 2 is operating when the operation of the conveyance vehicle 2 is detected based on at least one of the image processing 3 and the position data of the conveyance vehicle 2.

When the work machine 1 is operating in step S301, the controller 27 acquires the position data of the conveyance vehicle 2 in step S305, and determines a state of the conveyance vehicle 2 based on only the position data of the conveyance vehicle 2 in step 304.

When the conveyance vehicle 2 is operating in step 304, the processing returns to step S301. When the conveyance vehicle 2 is stopped in step 304, the processing proceeds to step S306. In step S306, the controller 27 executes image processing 4. In the image processing 4, the controller 27 detects the bed position of the conveyance vehicle 2 with image recognition technology based on the first image data.

FIG. 23 is a view illustrating an example of an image captured by the first camera 36 when the conveyance vehicle 2 is stopped at the loading position L2. As illustrated in FIG. 23 , the image indicated by the first image data includes the bed 53 of the conveyance vehicle 2. When the bed 53 is included in the image indicated by the first image data, the controller 27 recognizes the bed 53 in the image and detects the bed position.

In step S307, the controller 27 determines an error of the bed position. The controller 27 calculates a deviation between the bed position stored by the controller 27 and the bed position detected in step S306. The controller 27 determines that the error is large when the deviation is equal to or greater than a predetermined threshold. When the error of the bed position is large, the processing proceeds to step S308.

In step S308, the controller 27 modifies the unloading position P1. Here, the controller 27 modifies the unloading position P1 determined in step S209 based on the deviation calculated in step S307. When the error of the bed position is small in step S307, the unloading position P1 is not modified and the processing proceeds to step S309.

In step S309, the controller 27 executes automatic unloading. Here, the controller 27 operates the work implement 12 so as to unload the materials held by the bucket 19 onto the bed 53. In step S310, the controller 27 updates the bed position. The controller 27 updates the stored bed position to the bed position detected in step S306.

In step S401 illustrated in FIG. 9 , the controller 27 determines whether the loading is finished. The controller 27 determines that the loading is finished when the weight of the materials loaded onto the bed 53 (hereinafter, referred to as “loading amount”) reaches the allowable weight. The controller 27 calculates the loading amount from the load data. Specifically, the controller 27 calculates the weight of the dug materials from the load data. The controller 27 calculates the total value of the weight of the materials loaded onto the bed 53 as the loading amount.

When the controller 27 determines that the loading is not finished in step S401, the processing returns to step S201. The processing from step S201 to step S211 and the processing from step S301 to step S310 is repeated. Consequently, the material digging and loading onto the conveyance vehicle 2 are repeated.

Even when the second and subsequent digging are performed, the controller 27 performs again the measurement of the topography performed in step S201 and updates the topography data with new topography data acquired by the topography sensor 35. In addition, the controller 27 performs again the measurement of the weight of the materials in step S211, and calculates and updates the specific gravity of the materials from the newly measured weight and volume of the materials.

In step S401, when the controller 27 determines that the loading is finished, the processing proceeds to step S402. In step S402, as illustrated in FIG. 17 , the controller 27 transmits, to the conveyance vehicle 2, a withdraw command to withdraw from the loading position L2. Upon receiving the withdraw command, the conveyance vehicle 2 starts moving from the loading position L2 toward the dumping position L3.

In step S403, the controller 27 executes the image processing 2. In the image processing 2, the controller 27 detects the presence of the conveyance vehicle 2 in front of the rotating body 13 with image recognition technology based on the first image data in the same way as in step S106. Further, in step S404, the controller 27 communicates with the conveyance vehicle 2 and acquires the position data of the conveyance vehicle 2. Here, the controller 27 receives the position data of the conveyance vehicle 2 via the communication device 38 in the same way as in step S303 and step S305.

Next, in step S405, the controller 27 determines whether the withdrawal is completed. The controller 27 determines whether the withdrawal is completed based on the image processing 2 and the position data of the conveyance vehicle 2. As illustrated in FIG. 18 , the controller 27 determines that the withdrawal is completed when it is detected that the conveyance vehicle 2 has moved away from the work machine 1 by a predetermined distance or greater.

For example, the controller 27 calculates the distance between the work machine 1 and the conveyance vehicle 2 based on the first image data. The controller 27 calculates the distance between the work machine 1 and the conveyance vehicle 2 based on the position data. The controller 27 may determine that the conveyance vehicle 2 has withdrawn from the loading position L2 when both the distance calculated from the first image data and the distance calculated from the position data are equal to or greater than a predetermined threshold. Alternatively, the controller 27 may determine that the conveyance vehicle 2 has withdrawn from the loading position L2 when at least one of the distance calculated from the first image data and the distance calculated from the position data is equal to or greater than a predetermined threshold.

When the controller 27 determines that the withdrawal is not completed in step S405, the processing returns to step S403. When the controller 27 determines that the withdrawal is completed in step S405, the processing returns to step S109. That is, when the controller 27 determines that the withdrawal is completed, the controller 27 finishes the loading mode and causes the automatic control mode to transition to the standby mode.

With the control system of the work machine 1 according to the present embodiment, the operation of the conveyance vehicle 2 is detected, and when the conveyance vehicle 2 is stopped at the loading position L2, it is possible to cause the work machine 1 to unload the materials. Accordingly, work can be performed by suitably coordinating the work machine 1 and the conveyance vehicle 2. Consequently, the loading work by the work machine 1 is performed with the automatic control and work efficiency can be improved.

When the controller 27 determines that the work machine 1 is stopped, the controller 27 determines whether the conveyance vehicle 2 is stopped based on the first image data. Further, when the controller 27 determines that the work machine 1 is operating, the controller 27 determines whether the conveyance vehicle 2 is stopped based on the position data of the conveyance vehicle 2. When the work machine 1 is operating, the first camera 36 moves together with the work machine 1. This decreases the accuracy of image recognition by the first image data. Therefore, when the work machine 1 is operating, using the position data of the conveyance vehicle 2 enables to accurately determine whether the conveyance vehicle 2 is stopped.

When the error between the position of the bed 53 calculated from the position data of the conveyance vehicle 2 and the position of the bed 53 calculated from the first image data is greater than a predetermined threshold, the controller 27 modifies the unloading position based on the position of the bed 53 calculated from the first image data. Accordingly, the unloading position with respect to the bed 53 can be determined with good accuracy.

The controller 27 determines whether the rotating body 13 is stopped or operating, and when determining that the rotating body 13 is stopped, the controller 27 measures the topography by the topography sensor 35. When the rotating body 13 is rotating, the topography sensor 35 moves together with the rotating body 13. This decrease the accuracy of detecting the topography by the topography sensor 35. Therefore, the controller 27 measures the topography by the topography sensor 35 when determining that the rotating body 13 is stopped. This enables to increase the accuracy of detecting the topography.

Although an embodiment of the present invention has been described so far, the present invention is not limited to the above embodiment and various modifications may be made within the scope of the invention.

The work machine 1 is not limited to a hydraulic excavator and may be another machine such as a wheel loader, a motor grader, or the like. The configuration of the work machine 1 is not limited to that of the above embodiment and may be changed. The work machine 1 may be a vehicle driven by an electric motor. For example, the traveling body 14 and/or the rotating body 13 may be driven by an electric motor. The configuration of the work implement 12 may be changed. For example, the work implement 12 is not limited to the bucket 19 and may include another attachment such as a grapple, a fork, a lifting magnet, or the like.

The conveyance vehicle 2 may be a vehicle other than a dump truck. The configuration of the conveyance vehicle 2 is not limited to that of the above embodiment and may be changed. For example, the conveyance vehicle 2 may be a vehicle driven by an electric motor. For example, the traveling body 52 and/or the bed 53 may be driven by an electric motor. The bed 53 of the conveyance vehicle 2 may not be rotatable. The traveling body 52 of the conveyance vehicle 2 may be provided with tires instead of crawler belts. The conveyance vehicle 2 may not be under automatic control and may be manually driven by an operator.

The configurations of the sensors provided on the work machine 1 and the conveyance vehicle 2 are not limited to those of the above embodiment and may be changed. For example, the topography sensor 35 may be disposed in a part other than the side part of the rotating body 13. The topography sensor 35 is not limited to a LIDAR device and may be another sensing device such as a radar device or the like. Alternatively, the topography sensor 35 may be a camera and the controller 27 may recognize the topography by analyzing the images captured by the camera.

The first camera 36 may be disposed in a part other than the front part of the rotating body 13. The second cameras 37 may be disposed in parts other than both side parts and the rear part of the rotating body 13. The number of the second cameras is not limited to three and may be less than three or greater than three.

The controller 27 is not limited to one unit and may be divided into a plurality of controllers 27. The processing executed by the controller 27 may be distributed and executed among the plurality of controllers 27. In such a case, a portion of the plurality of controllers 27 may be disposed outside the work machine 1.

The controller 27 of the work machine 1 and the controller 61 of the conveyance vehicle 2 may not communicate with each other directly, and may communicate through another controller. The processing in the automatic control mode executed by the controller 27 is not limited to that of the above embodiment and may be changed. For example, the processing in the standby mode may be changed. The processing in the loading mode may be changed.

In the above embodiment, the controller 27 uses both the first image data and the position data of the conveyance vehicle 2 to determine the approach and the withdrawal of the conveyance vehicle 2. However, the controller 27 may use only one of the first image data and the position data of the conveyance vehicle 2 to determine the approach and/or the withdrawal of the conveyance vehicle 2.

In the above embodiment, the controller 27 uses both the first image data and the position data of the conveyance vehicle 2 to determine whether the conveyance vehicle 2 is stopped at the loading position L2. However, the controller 27 may use only one of the first image data and the position data of the conveyance vehicle to determine the conveyance vehicle 2 is stopped.

In the above embodiment, the controller 27 uses both the first image data and the position data of the conveyance vehicle 2 to detect the position of the bed 53. However, the controller 27 may use only one of the first image data and the position data of the conveyance vehicle 2 to detect the position of the bed 53.

In the above embodiment, the controller 27 calculates the possible loading weight based on the load data detected by the load sensors 32 a to 32 c. However, the controller 27 may calculate the possible loading weight based on the image of the bed 53 indicated by the first image data. The controller 27 may detect the amount of the materials loaded onto the bed 53 from the image of the bed 53 indicated by the first image data to calculate the possible loading weight from the amount of the loaded materials.

According to the present invention, it is possible to perform loading work by the work machine with automatic control and suitably coordinate the work machine and the conveyance vehicle. 

The invention claimed is:
 1. A system for controlling a work machine that loads materials onto a conveyance vehicle, the conveyance vehicle including a position sensor configured to detect a position of the conveyance vehicle, the system comprising: a detection device configured to detect an operation of the conveyance vehicle, the detection device including a camera configured to capture a periphery of the work machine; and a controller configured to control the work machine, the work machine including a work implement, and a rotating body to which the work implement is attached, and the controller being configured to acquire operation data indicative of an operation of the conveyance vehicle from the detection device, the operation data including image data indicative of a moving image of the periphery of the work machine captured by the camera and position data indicative of the position of the conveyance vehicle detected by the position sensor, cause the rotating body to rotate toward a predetermined unloading position, determine whether the conveyance vehicle is stopped at a predetermined loading position based on the operation data, cause the work implement to wait on standby at the unloading position upon determining that the conveyance vehicle is operating, calculate a position of a bed of the conveyance vehicle based on the position data, calculate a position of the bed of the conveyance vehicle based on the image data, modify the unloading position based on the position of the bed calculated from the image data when an error between the position of the bed calculated from the position data and the position of the bed calculated from the image data is greater than a predetermined threshold, and control the work machine to unload materials at the unloading position upon determining that the conveyance vehicle is stopped at the loading position.
 2. A system for controlling a work machine that loads materials onto a conveyance vehicle, the conveyance vehicle including a position sensor configured to detect a position of the conveyance vehicle, the system comprising: a detection device configured to detect an operation of the conveyance vehicle, the detection device including a camera configured to capture a periphery of the work machine; and a controller configured to control the work machine, the work machine including a work implement, and a rotating body to which the work implement is attached, and the controller being configured to acquire operation data indicative of an operation of the conveyance vehicle from the detection device, the operation data including image data indicative of a moving image of the periphery of the work machine captured by the camera and position data indicative of the position of the conveyance vehicle detected by the position sensor, cause the rotating body to rotate toward a predetermined unloading position, determine whether the work machine is stopped or operating, determine whether the conveyance vehicle is stopped at a predetermined loading position based on the operation data, the determination as to whether the conveyance vehicle is stopped being based on the image data when determining that the work machine is stopped and based on the position data when determining that the work machine is operating, cause the work implement to wait on standby at the unloading position upon determining that the conveyance vehicle is operating, and control the work machine to unload materials at the unloading position upon determining that the conveyance vehicle is stopped at the loading position.
 3. A system for controlling a work machine that loads materials onto a conveyance vehicle, the system comprising: a detection device configured to detect an operation of the conveyance vehicle; and a controller configured to control the work machine, the work machine including a work implement, a rotating body to which the work implement is attached, and a topography sensor configured to measure a topography in a periphery of the work machine, the topography sensor being attached to the rotating body, and the controller being configured to determine whether the rotating body is stopped or operating, upon determining that the rotating body is stopped, measure the topography using the topography sensor, acquire topography data indicative of the topography measured by the topography sensor, determine a digging start position based on the topography measured by the topography sensor, acquire operation data indicative of an operation of the conveyance vehicle from the detection device, cause the rotating body to rotate toward the digging start position upon detecting an approach of the conveyance vehicle, control the work implement to perform digging at the digging start position, determine whether the conveyance vehicle is stopped at a predetermined loading position based on the operation data, and control the work machine to unload materials upon determining that the conveyance vehicle is stopped at the loading position.
 4. A method executed by a controller in order to control a work machine that loads materials onto a conveyance vehicle, the work machine including a work implement and a rotating body to which the work implement is attached, the method comprising: acquiring operation data indicative of an operation of the conveyance vehicle, the operation data including image data indicative of a moving image of a periphery of the work machine and position data indicative of a position of the conveyance vehicle; causing the rotating body to rotate toward a predetermined unloading position; determining whether the conveyance vehicle is stopped at a predetermined loading position based on the operation data; causing the work implement to wait on standby at the unloading position upon determining that the conveyance vehicle is operating; calculating a position of a bed of the conveyance vehicle based on the position data; calculating a position of the bed of the conveyance vehicle based on the image data; and modifying the unloading position based on the position of the bed calculated from the image data when an error between the position of the bed calculated from the position data and the position of the bed calculated from the image data is greater than a predetermined threshold; and controlling the work machine to unload materials at the unloading position upon determining that the conveyance vehicle is stopped at the loading position.
 5. A method executed by a controller in order to control a work machine that loads materials onto a conveyance vehicle, the work machine including a work implement and a rotating body to which the work implement is attached, the method comprising: acquiring operation data indicative of an operation of the conveyance vehicle, the operation data including image data indicative of a moving image of a periphery of the work machine and position data indicative of a position of the conveyance vehicle; causing the rotating body to rotate toward a predetermined unloading position; determining whether the work machine is stopped or operating; determining whether the conveyance vehicle is stopped at a predetermined loading position based on the operation data, the determining whether the conveyance vehicle is stopped being based on the image data when determining that the work machine is stopped and based on the position data when determining that the work machine is operating; causing the work implement to wait on standby at the unloading position upon determining that the conveyance vehicle is operating; controlling the work machine to unload materials at the unloading position upon determining that the conveyance vehicle is stopped at the loading position.
 6. A method executed by a controller in order to control a work machine that loads materials onto a conveyance vehicle, the work machine including a work implement and a rotating body to which the work implement is attached, the method comprising: determining whether the rotating body is stopped or operating, upon determining that the rotating body is stopped, using a topography sensor attached to the rotating body to measure a topography in a periphery of the work machine, acquiring topography data indicative of the topography in the periphery of the work machine; determining a digging start position based on the topography data; acquiring operation data indicative of an operation of the conveyance vehicle; causing the rotating body to rotate toward the digging start position upon detecting an approach of the conveyance vehicle; controlling the work implement to perform digging at the digging start position; determining whether the conveyance vehicle is stopped at a predetermined loading position based on the operation data; and controlling the work machine to unload materials upon determining that the conveyance vehicle is stopped at the loading position. 